package com.nbcio.iot.mapper;

import com.nbcio.common.mybatis.core.mapper.BaseMapperPlus;
import com.nbcio.iot.domain.entity.IotDeviceGroup;
import com.nbcio.iot.domain.vo.IotDeviceGroupVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备分组Mapper接口
 */
public interface IotDeviceGroupMapper extends BaseMapperPlus<IotDeviceGroup, IotDeviceGroupVo> {

    /**
     * 查询设备分组列表
     */
    List<IotDeviceGroupVo> selectDeviceGroupVoList(@Param("group") IotDeviceGroup group);

    /**
     * 查询设备分组树形列表
     */
    List<IotDeviceGroupVo> selectDeviceGroupTreeList();
} 